package com.bussiness.system.query.student;

import com.bussiness.system.util.Query;
import com.bussiness.system.util.TransferUtil;

import java.util.Map;

/**
 * @Auther: xlr
 * @Date: 2018/8/11 14:42
 * @Description:
 */
public class StudentQuery extends Query {

    /**
     * 学生ID
     */
    private Integer id;
    /**
     * 学生姓名
     */
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Override
    protected Map<String, Object> beanToMap() {
        Map<String,Object> map = TransferUtil.beanToMap( this );
        return map;
    }
}
